package com.example.miaosh.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.miaosh.base.mapper.BaseService;
import com.example.miaosh.entity.SequenceInfo;
import com.example.miaosh.mapper.SequenceInfoMapper;

/**
 * 6位数的增加
 * 
 * @author kai
 *
 */
@Service
public class SequenceInfoService extends BaseService<SequenceInfo> {

	@Autowired
	private SequenceInfoMapper sequenceInfoMapper;

	public int updateOne(String name) {
		return sequenceInfoMapper.updateOne(name);
	}

	public SequenceInfo qurrey(String name) {
		return sequenceInfoMapper.qurrey(name);
	}

	// 重置0
	public int Zoo(String name) {
		return sequenceInfoMapper.Zoo(name);
	}
}
